package net.hn.hnms.biz.project.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author 刘昊
 * @date 2024-03-12 15:00
 * 质量管理附件表
 */
@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "quality_control_file", schema = "xmgl", catalog = "huaneng-manage")
public class QualityControlFile extends BaseModel implements Serializable {

    @ApiModelProperty(value = "id")
    @TableId(type = IdType.ASSIGN_UUID)
    private String fileId;

    @ApiModelProperty(value = "文件名称")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String fileName;

    @ApiModelProperty(value = "文件路径")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String filePath;

    @ApiModelProperty(value = "附件类型")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String fileType;

    @ApiModelProperty(value = "关联id")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String relevanceId;

}
